import request from '@/utils/request'
export function fetchList(params) {
  return request({
    url:'/api/v1/sale/findSmsHomeRecommendSubject',
    method:'post',
    params:params
  })
}

export function updateRecommendStatus(data) {
  return request({
    url:'/api/v1/sale/updateSmsHomeRecommendSubject',
    method:'post',
    data:data
  })
}

export function deleteHomeSubject(data) {
  return request({
    url:'/api/v1/sale/delSmsHomeRecommendSubject',
    method:'post',
    data:data
  })
}

export function createHomeSubject(data) {
  return request({
    url:'/api/v1/sale/addSmsHomeRecommendSubject',
    method:'post',
    data:data
  })
}

export function updateHomeSubjectSort(params) {
  return request({
    url:'/api/v1/sale/updateSmsHomeRecommendSubject',
    method:'post',
    params:params
  })
}
